home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-08-16 | 2.7 KB | 83 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENU_K
- #include "FWMenu.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
- #define FW_SUPPORTS_EMBEDDING 1
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // Frame Presentations
- #define kMainPresentation "Apple:ODF:Presentation:Container:Main"
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // ----- Commands -----
- #define cAsFrame FW_kFirstUserCommandID
- #define cAsLargeIcon cAsFrame + 1
- #define cAsSmallIcon cAsLargeIcon + 1
- #define cAsThumbnail cAsSmallIcon + 1
-
- #define cZoom50 cAsThumbnail + 1
- #define cZoom100 cZoom50 + 1
- #define cZoom200 cZoom100 + 1
-
- //-------------------------------------------------------------------------------------
- // View resources & View IDs
- #define kContainerView 1024
-
- #define kContainerViewID 2
- #define kHorzScrollBarID 3
- #define kVertScrollBarID 4
- #define kGrowBoxID 5
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kUndoStrings 1036
- #define kUndoResizeMsg 19
- #define kRedoResizeMsg 20
-
- //-------------------------------------------------------------------------------------
- // Misc. constants
- #define kDrawingSizeX 1024 * 5
- #define kDrawingSizeY 1024 * 5
-
-
- #endif
-